import Mock from "mockjs";

Mock.mock("/api/index", "get", () => {
    return {
        status: 200,
        data: Mock.mock({
            "gridarr|8": [{
                img: Mock.Random.image("50x50"),
                txt: Mock.mock("@ctitle"),
            }, ],
            "dotarr|3-6": [{
                img: Mock.Random.image("375x150"),
                txt: Mock.mock("@ctitle"),
            }, ],
            "listarr|6-10": [{
                img: Mock.Random.image("50x50"),
                txt: Mock.mock("@ctitle"),
            }, ],
        }),
    };
});